package com.cloud.form.api.entity;

import javax.persistence.*;

@Table(name = "form_input_auth")
public class FormAuth {
	@Id
	@Column(name = "act_def_id")
	private Long actDefId;

	@Id
	@Column(name = "part_id")
	private Long partId;

	@Id
	@Column(name = "form_id")
	private Long formId;

	@Column(name = "auth_code")
	private int authCode;
	
	@Transient
	private String formName;

	public Long getActDefId() {
		return actDefId;
	}

	public void setActDefId(Long actDefId) {
		this.actDefId = actDefId;
	}

	public Long getPartId() {
		return partId;
	}

	public void setPartId(Long partId) {
		this.partId = partId;
	}

	public Long getFormId() {
		return formId;
	}

	public void setFormId(Long formId) {
		this.formId = formId;
	}

	public int getAuthCode() {
		return authCode;
	}

	public void setAuthCode(int authCode) {
		this.authCode = authCode;
	}

	public String getFormName() {
		return formName;
	}

	public void setFormName(String formName) {
		this.formName = formName;
	}
	
}